﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class Login
    {
        /// <summary>
        /// 登录列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _loginid;
        public int LoginId
        {
            get { return _loginid; }
            set { _loginid = value; }
        }

        /// <summary>
        /// 登录名，为邮箱或手机号
        /// </summary>		
        private string _loginname;
        public string LoginName
        {
            get { return _loginname; }
            set { _loginname = value; }
        }

        /// <summary>
        /// 登录密码
        /// </summary>		
        private string _loginpwd;
        public string LoginPwd
        {
            get { return _loginpwd; }
            set { _loginpwd = value; }
        }

        /// <summary>
        /// 保存在客户端的登录Cookie，为全局唯一标示符，用以自动登录
        /// </summary>		
        private string _logincookie;
        public string LoginCookie
        {
            get { return _logincookie; }
            set { _logincookie = value; }
        }

        /// <summary>
        /// 最后登录时间
        /// </summary>		
        private DateTime _lastlogindatetime;
        public DateTime LastLoginDateTime
        {
            get { return _lastlogindatetime; }
            set { _lastlogindatetime = value; }
        }

        /// <summary>
        /// 是否删除，默认为0，意为未删除
        /// </summary>		
        private bool _isdel;
        public bool IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }        
    }
}
